package com.kh.samr.entity.jq_project;

import com.kh.samr.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 项目评审专家信息
 *
 * @author Harry
 * @date 2020/12/29
 */
@ApiModel(description = "项目评审专家信息")
@Table(name = "jq_expert")
@EqualsAndHashCode(callSuper = true)
@Entity(name = "jq_expert")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Expert extends BaseEntity {
	
	private static final long serialVersionUID = -1366482956477468634L;
	
	/**
	 * 专家信息标准唯一标识
	 */
	@ApiModelProperty(value = "专家信息标准唯一标识", readOnly = true)
	@Column(length = 36)
	private String expertStandardId;

	/**
	 * 证件号码
	 */
	@ApiModelProperty(value = "证件号码", readOnly = true)
	@Column(length = 20, nullable = false)
	private String idNumber;
}
